<div class="content">

	<div id="left-column">
		<?php echo $this->element('left_column')?>		
	</div>
	
	<div class="right-store-column search-bg">
		<?php echo $this->element('search_more',array('plugin'=>'store'))?>
	</div>
	
	<div class="right-store-column">		
		<div class="storeProducts">
		
			<?php echo $this->element('display_sorting_menu',array('plugin'=>'store'))?>
				
			<?php 
				$storeGroupName = (isset($storeGroupName)) ? $storeGroupName : '';
			?>
			<h2><?php echo $storeGroupName;?></h2>

			<div class="clr"></div>	
			
			<?php echo $this->element($this->Session->read('Store.display'),array('plugin'=>'store'))?>


			<p>
			<?php
			$this->Paginator->options(array('url' => array_merge($this->passedArgs)));
			
			echo $this->Paginator->counter(array(
			'format' => __d('store','Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
			));
			?>
			</p>		
			<div class="paging">
				<?php echo $this->Paginator->prev('<< ' . __d('store','previous', true), array(), null, array('class'=>'disabled'));?>
				<?php echo $this->Paginator->numbers(array('separator'=>false));?>
				<?php echo $this->Paginator->next(__d('store','next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
			</div>
		</div>		

	</div>	

	<div class="clr"></div>	
	
	<?php if($session->check('Auth.User.id')){?>
	<?php echo $this->element('toolbar_actions_main',array('plugin'=>'store','toolbar'=>'product'))?>
	<?php }?>
	
</div>
<div class="clr"></div>	